﻿using System;

namespace Borg.AddOn
{
    [Serializable]
    public class ComposerApiHook : IComposerApiHook
    {
        public virtual void OnSetProperty(ComposerOperation operation)
        { }

        public virtual void OnExtensionTypeOperation(ExtensionTypeOperation operation, ExtensionType extensionType)
        { }

        public virtual void OnExtensionOperation(ExtensionOperation operation, Extension extension)
        { }

        public virtual void OnPlugOperation(PlugOperation operation, Plug plug)
        { }

        public virtual void OnSlotOperation(SlotOperation operation, Slot slot)
        { }

        public virtual void OnCompositionOperation(PlugCompositionOperation operation, Slot slot, Plug plug)
        { }

        public virtual void OnCompositionOperation(TagCompositionOperation operation, Slot slot, Plug plug, string tagName)
        { }
    }
}
